package cn.t.repository.user;

import cn.t.core.repoistory.impl.IRepository;
import cn.t.model.user.ParticipantInfoDO;

/**
 * 参与者信息表领域仓库
 */
public interface ParticipantInfoRepository extends IRepository<ParticipantInfoDO> {

    boolean deleteParticipantByUserId(Long userId);

    boolean disableByUserId(Long userId);

    void clearCostCenter(Long userId);

    void disableParticipantByUserId(Long userId);

    void enableParticipantByUserId(Long userId);

    void unbindCostCenter(Long userId);
}
